﻿using LJ.StreamSystem.LazyHare.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.StreamSystem.LazyHare;

public interface IAggregateStreamSystemMessageListener
{
    Task<object> OnInitReceiveAsync(AggregateStreamSystemMessage message, CancellationToken cancellationToken);
    Task<object> OnSummaryReceiveAsync(AggregateStreamSystemMessage message, CancellationToken cancellationToken);
    Task<object> OnKeyReceiveAsync(AggregateStreamSystemMessage message, CancellationToken cancellationToken);
}
